package lrz.shiftplanner.calendar;

public class Shift { 
	public Day day;
	public ShiftType type;
	@Override
	public int hashCode() {
		return day.hashCode() ^ type.ordinal();
	}
//	@Override
	public boolean equals(Object s) {
		return day.equals(((Shift)s).day) && type.equals(((Shift)s).type);
	}
	public String toString() {
		return day.getDate() +  ": " + type;
	}
}
